<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="mobile/fragments/index">
<head>
    <meta charset="UTF-8"/>
    <title th:text="${title}"></title>
    <link type="text/css" rel="stylesheet" th:href="@{/static/mobile/css/schedule/entity.css}"/>
</head>
<body th:fragment="content" th:remove="tag">
<div class="mui-card">
    <div class="mui-card-content custom-row">
        <form class="mui-input-row mui-search" method="post">
            <div class="custom-search">
                <input type="text" name="title" id="custom-search-input" th:value="${titleVal}" placeholder="请输入查询内容"/>
                <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
                <span class="custom-search-span"></span>
            </div>
        </form>
        <input type="hidden" name="current" th:value="${pager.totalPages}"/>
    </div>
</div>
<div class="mui-card">
    <div class="mui-card-content">
        <ul class="mui-table-view custom-lecture" th:if="${info=='notice'}" th:content="${info}">
            <li class='mui-table-view-cell mui-media' th:each="list:${dataList}">
                <a class='mui-navigate-right' th:href="${'/uc/schedule/message/'+list.messageId+'/index'}">
                    <div class='mui-media-body mui-ellipsis'>
                        <span th:text="${list.messageTitle}"></span>
                        <p class='mui-ellipsis custom-ellipsis-size'
                           th:text="${'时间：'+list.sendTime}"></p>
                    </div>
                </a>
            </li>
        </ul>
        <ul class="mui-table-view custom-lecture" th:if="${info=='lecture'}" th:content="${info}">
            <li class='mui-table-view-cell mui-media' th:each="list:${dataList}">
                <a class='mui-navigate-right' th:href="${'/uc/schedule/entity/'+list.id+'/lecture'}">
                    <div class='mui-media-body mui-ellipsis'>
                        <span th:text="${list.bt}"></span>
                        <p class='mui-ellipsis custom-ellipsis-size' th:text="${'时间：'+list.sj}"></p>
                    </div>
                </a>
            </li>
        </ul>
        <ul class="mui-table-view custom-lecture" th:if="${info=='dispatch'}" th:content="${info}">
            <li class='mui-table-view-cell mui-media' th:each="list:${dataList}">
                <a class='mui-navigate-right' th:href="${'/uc/schedule/entity/'+list.id+'/dispatch'}">
                    <div class='mui-media-body mui-ellipsis'>
                        <span th:text="${list.bt}"></span>
                        <p class='mui-ellipsis custom-ellipsis-size' th:text="${'文号：'+list.wh}"></p>
                    </div>
                </a>
            </li>
        </ul>
        <ul class="mui-table-view mui-grid-view custom-lecture" th:if="${info=='application'}" th:content="${info}">
            <li class="mui-table-view-cell mui-media mui-col-xs-4" th:each="list:${dataList}">
                <a th:href="${list.path}">
                    <img class="mui-media-object" th:src='${list.image}'/>
                    <div class="mui-media-body" th:text="${list.name}"></div>
                </a>
            </li>
        </ul>
    </div>
</div>
<script type="text/javascript" th:src="@{/static/mobile/js/schedule/list.js}"></script>
</body>
</html>